home *** CD-ROM | disk | FTP | other *** search
/ Aminet 7 / Aminet 7 - August 1995.iso / Aminet / docs / misc / ConcNews.lha / news / amiga.compilers / comp.sys.amiga.programmer_5227_000020.msg < prev    next >
Encoding:
Text File  |  1994-11-27  |  2.0 KB  |  47 lines

  1. Newsgroups: comp.sys.amiga.programmer
  2. Path: dd.chalmers.se!news.chalmers.se!sunic!EU.net!howland.reston.ans.net!usc!elroy.jpl.nasa.gov!swrinde!emory!news-feed-1.peachnet.edu!concert!sas!mozart.unx.sas.com!walker
  3. From: walker@twix.unx.sas.com (Doug Walker)
  4. Subject: Re: SAS Keywords (__saveds etc)
  5. Originator: walker@twix.unx.sas.com
  6. Sender: news@unx.sas.com (Noter of Newsworthy Events)
  7. Message-ID: <CKI3Kr.L4t@unx.sas.com>
  8. Date: Mon, 31 Jan 1994 15:41:13 GMT
  9. References: <inf01.759746947@apollo23> <CKCG1B.Lzq@unx.sas.com> <2iiptt$soe@ugle.unit.no> <CKI1BK.FMH@unx.sas.com> <CKI30G.Jwn@unx.sas.com>
  10. Nntp-Posting-Host: twix.unx.sas.com
  11. Organization: SAS Institute Inc.
  12. Lines: 33
  13.  
  14.  
  15. In article <CKI30G.Jwn@unx.sas.com>, walker@twix.unx.sas.com (Doug Walker) writes:
  16. |> 
  17. |> In article <CKI1BK.FMH@unx.sas.com>, jamie@cdevil.unx.sas.com (James Cooper) writes:
  18. |> |> Well, if you have SAS/C V6.50+, you could use the '#pragma amicall'
  19. |> |> directive we added for MANX support.  It allows specifying a different
  20. |> |> return register than D0 (though D0 is still the default).
  21. |> 
  22. |> The SYNTAX allows for a different register specification, but the
  23. |> SAS/C version of #pragma amicall flags it as an error if you 
  24. |> specify anything other than D0.
  25. |> 
  26. |> Return registers other than D0 are not supported by SAS/C.
  27.  
  28. Well, this just isn't my day.  I checked the doc, it didn't
  29. mention that limitation; I checked the code produced, and it
  30. does seem to work.  (chomp, chomp, munch munch.)
  31.  
  32. In actuality, register D0 is the only supported return register
  33. for #pragma regcalls, but not for #pragma amicalls.
  34.  
  35. Sorry for the false alarm.  I'm getting old and the memory is the
  36. second thing to go, you know (I can't remember what the first
  37. thing is.)
  38.  
  39. -- 
  40.   *****                    / walker@unx.sas.com
  41.  *|_o_o|\\     Doug Walker<  BIX, Portal: djwalker
  42.  *|. o.| ||                \ CompuServe: 71165,2274
  43.   | o  |//     
  44.   ====== 
  45. Any opinions expressed are mine, not those of SAS Institute, Inc.
  46.  
  47.